<?php

//数据库配置
if(file_exists("Application/Common/Conf/db.php"))
	$db = include "Application/Common/Conf/db.php";
else
	$db = array();

//系统配置
$configs = array(
	'DEFAULT_MODULE'	    => 'Home',					//定义默认模块
	'DEFAULT_CONTROLLER'    => 'Index',					//默认控制器名称
	'SHOW_PAGE_TRACE'       => false,					//显示trace信息 
	'SESSION_AUTO_START'    => true,					//是否开启session

	'VIEW_PATH'             => './Themes/',				//ASSET_PATH,//视图地址
	'TMPL_FILE_DEPR'        => '/',						//配置模板的目录层次
	'THEME'					=> THEME,					//默认主题
	'DEFAULT_THEME'         => THEME.'/Template',		//模板路径
);

//其它配置
if(file_exists("Application/Common/Conf/tag.php"))
	$tag = include "Application/Common/Conf/tag.php";
else
	$tag = array();


return array_merge($configs,$db,$tag);